package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * 牧场点兵玩法日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_pasture_operate", autoSave = true,uploadCk = true,desc = "牧场点兵玩法日志")
public class LogPastureOperate extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "当前回合数")
    private int round;
    @FieldTypeAnnotation(desc = "操作前积分")
    private long beforeScore;
    @FieldTypeAnnotation(desc = "操作增长积分")
    private long addScore;
    @FieldTypeAnnotation(desc = "操作后积分")
    private long afterScore;
    @FieldTypeAnnotation(desc = "消除方块列表")
    private String clearBlockList;
    @FieldTypeAnnotation(desc = "操作前能量")
    private long beforeEnergy;
    @FieldTypeAnnotation(desc = "操作增长能量值")
    private long addEnergy;
    @FieldTypeAnnotation(desc = "操作后能量值")
    private long afterEnergy;
    @FieldTypeAnnotation(desc = "是否使用潜能技能")
    private boolean isUseSkill;
    @FieldTypeAnnotation(desc = "激活动物id")
    private int animalId;


    public LogPastureOperate(long userId, int activityId, int round, long beforeScore, long addScore, long afterScore, String clearBlockList, long beforeEnergy, long addEnergy, long afterEnergy, boolean isUseSkill, int animalId, Date time) {
        this.userId = userId;
        this.activityId = activityId;
        this.round = round;
        this.beforeScore = beforeScore;
        this.addScore = addScore;
        this.afterScore = afterScore;
        this.clearBlockList = clearBlockList;
        this.beforeEnergy = beforeEnergy;
        this.addEnergy = addEnergy;
        this.afterEnergy = afterEnergy;
        this.isUseSkill = isUseSkill;
        this.animalId = animalId;

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public long getBeforeScore() {
        return beforeScore;
    }

    public void setBeforeScore(long beforeScore) {
        this.beforeScore = beforeScore;
    }

    public long getAddScore() {
        return addScore;
    }

    public void setAddScore(long addScore) {
        this.addScore = addScore;
    }

    public long getAfterScore() {
        return afterScore;
    }

    public void setAfterScore(long afterScore) {
        this.afterScore = afterScore;
    }

    public String getClearBlockList() {
        return clearBlockList;
    }

    public void setClearBlockList(String clearBlockList) {
        this.clearBlockList = clearBlockList;
    }

    public long getBeforeEnergy() {
        return beforeEnergy;
    }

    public void setBeforeEnergy(long beforeEnergy) {
        this.beforeEnergy = beforeEnergy;
    }

    public long getAddEnergy() {
        return addEnergy;
    }

    public void setAddEnergy(long addEnergy) {
        this.addEnergy = addEnergy;
    }

    public long getAfterEnergy() {
        return afterEnergy;
    }

    public void setAfterEnergy(long afterEnergy) {
        this.afterEnergy = afterEnergy;
    }

    public boolean isUseSkill() {
        return isUseSkill;
    }

    public void setUseSkill(boolean useSkill) {
        isUseSkill = useSkill;
    }

    public int getAnimalId() {
        return animalId;
    }

    public void setAnimalId(int animalId) {
        this.animalId = animalId;
    }

}
